package com.usian.wemedia.gateway.utils;

import com.usian.model.media.pojos.WmUser;

public class WmThreadLocalUtils {
    private final static  ThreadLocal<WmUser> userThreadLocal = new ThreadLocal<>();
    public static void setUser(WmUser user){
        userThreadLocal.set(user);
    }
    public static WmUser getUser( ){
        return userThreadLocal.get();
    }
}
